home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / DATATURE / FARVIEW.LZH / INSTALL.BAT < prev    next >
DOS Batch File  |  1991-10-17  |  2KB  |  55 lines

  1. @echo off
  2. if x%1" == x goto showUsage
  3. colon %1
  4. if errorLevel 4 goto noColon
  5. if errorLevel 3 goto notDrive
  6. if errorLevel 2 goto wrongSz
  7. if errorLevel 1 goto showUsage
  8. echo You are installing farVIEW/S from this drive 
  9. echo onto drive %1.
  10. echo No changes will be made to your CONFIG.SYS nor to your
  11. echo AUTOEXEC.BAT.
  12. echo However, a directory called farVIEW will be added to your
  13. echo root directory on drive %1.
  14. echo The farVIEW/S materials required for the system will occupy
  15. echo about 750K of disk space. If this is not acceptable to
  16. echo you, then press ^C to terminate the installation.
  17. pause
  18. cd %1\
  19. md %1farVIEW
  20. cd %1farVIEW
  21. copy read.me %1
  22. pkunzip -o *.zip %1
  23. %1
  24. echo This completes installation of the farVIEW materials.
  25. echo Please read LICENSE.DOC, then read READ.ME, which contains
  26. echo much valuable information about using farVIEW. To run
  27. echo farVIEW, first make sure your mouse driver is installed,
  28. echo then type
  29. echo    %1
  30. echo    CD \FARVIEW
  31. echo    FARVIEW HELP
  32. goto end
  33. :noColon
  34. echo Be sure to include the colon in the drive specification.
  35. echo For example...
  36. echo    INSTALL C:
  37. goto end
  38. :notDrive
  39. echo %1 is not a valid drive specification. It must be in the
  40. echo range C: to H:. For example...
  41. echo    INSTALL E:
  42. goto end
  43. :wrongSz
  44. echo %1 improperly constructed. For example...
  45. echo    INSTALL F:
  46. goto end
  47. :showUsage
  48. echo This INSTALL batch requires a parameter to specify the
  49. echo hard drive on which to install the farVIEW/S materials.
  50. echo For example, to install from Drive A to the hard disk
  51. echo on Drive D, type...
  52. echo    A:
  53. echo    INSTALL D:
  54. :end
  55.